package com.dqhl.smartstable.util;

import android.os.Environment;

import java.io.File;

/**
 * Created by cheng on 2016/8/31.
 * 常量类
 */
public class Constant {

    // 用户信息的 SharedPreferences
    public static final String USER_INFO = "user_info";
    public static final String USER_ID = "user_id";
    public static final String TOKEN = "token";
    public static final String SN = "sn";
    public static final String ALIAS = "alias";

    public static final String MESSAGE_RECEIVED_ACTION = "com.dqhl.smartstable.MESSAGE_RECEIVED_ACTION";
//    public static final String MESSAGE_RECEIVED_ACTION = "cn.jpush.android.intent.MESSAGE_RECEIVED";
    public static final String KEY_MESSAGE = "message";
    public static final String KEY_EXTRAS = "extras";


    // 图片的保存地址
    public static final String photoPath = Environment.getExternalStorageDirectory().getPath() + File.separator + "StableImage/";
}
